package modelimplementation

import "time"

type ServiceCharge struct {
	itsDate   time.Time
	itsAmount float64
}

func CreateServiceCharge(date time.Time, amount float64) *ServiceCharge {
	return &ServiceCharge{itsDate: date, itsAmount: amount}
}

func (s *ServiceCharge) GetAmount() float64 {
	return s.itsAmount
}
